projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68e5a8a
)
(Fsubstitute_command_keys): Fix previous change.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 31 Dec 1993 03:05:39 +0000
(
03:05
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 31 Dec 1993 03:05:39 +0000
(
03:05
+0000)
src/doc.c
patch
|
blob
|
history
diff --git
a/src/doc.c
b/src/doc.c
index aee321c342087bdd7c237d0857c9e6965d20e9dd..616ee271a69276cfe5c83b7be75cbd2bbd756cf9 100644
(file)
--- a/
src/doc.c
+++ b/
src/doc.c
@@
-430,9
+430,12
@@
thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ int
/* Disregard menu bar bindings; it is positively annoying to
mention them when there's no menu bar, and it isn't terribly
useful even when there is a menu bar. */
- firstkey = Faref (tem, make_number (0));
- if (EQ (firstkey, Qmenu_bar))
- tem = Qnil;
+ if (!NILP (tem))
+ {
+ firstkey = Faref (tem, make_number (0));
+ if (EQ (firstkey, Qmenu_bar))
+ tem = Qnil;
+ }
if (NILP (tem)) /* but not on any keys */
{